{{ header }}{{ column_left }}

<div id="content">
  <div class="page-header">
    <div class="container-fluid">
      <div class="float-end">
        <a href="{{ user_guide }}" data-bs-toggle="tooltip" title="User Guide" class="btn btn-primary"><i class="fa fa-book"></i></a>
        <button type="submit" form="form-opc_translate" data-bs-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa-solid fa-floppy-disk"></i></button>
        <a href="{{ back }}" data-bs-toggle="tooltip" title="{{ button_back }}" class="btn btn-light"><i class="fa-solid fa-reply"></i></a></div>
      <h1>{{ heading_title }}</h1>
      <ol class="breadcrumb">
        {% for breadcrumb in breadcrumbs %}
          <li class="breadcrumb-item"><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
        {% endfor %}
      </ol>
    </div>
  </div>
  <div class="container-fluid">
    <div class="card">
      <div class="card-header"><i class="fa-solid fa-pencil"></i> {{ text_edit }}</div>
      <div class="card-body">
        <form id="form-opc_translate" action="{{ save }}" method="post" data-oc-toggle="ajax">
          <div class="row mb-3">
            <label class="col-sm-2 col-form-label" for="input-status">{{ entry_status }}</label>
            <div class="col-sm-10">
              <select name="module_opc_translate_status" id="input-status" class="form-select">
                {% if module_opc_translate_status %}
                <option value="1" selected="selected">{{ text_enabled }}</option>
                <option value="0">{{ text_disabled }}</option>
                {% else %}
                <option value="1">{{ text_enabled }}</option>
                <option value="0" selected="selected">{{ text_disabled }}</option>
                {% endif %}
              </select>
            </div>
          </div>

          <div class="row mb-3">
            <label class="col-sm-2 col-form-label" for="input-admin">{{ entry_admin }}</label>
            <div class="col-sm-10">
              <select name="module_opc_translate_admin" id="input-admin" class="form-select">
                {% if module_opc_translate_admin %}
                <option value="1" selected="selected">{{ text_enabled }}</option>
                <option value="0">{{ text_disabled }}</option>
                {% else %}
                <option value="1">{{ text_enabled }}</option>
                <option value="0" selected="selected">{{ text_disabled }}</option>
                {% endif %}
              </select>
            </div>
          </div>

          <div class="row mb-3">
            <label class="col-sm-2 col-form-label" for="input-admin_position">{{ entry_admin_position }}</label>
            <div class="col-sm-10">
              <select name="module_opc_translate_admin_position" id="input-admin_position" class="form-select">
                <option value="1" {% if module_opc_translate_admin_position == 1 %} selected="selected" {% endif %} >{{ text_left }}</option>
                <option value="2" {% if module_opc_translate_admin_position == 2 %} selected="selected" {% endif %} >{{ text_center }}</option>
                <option value="3" {% if module_opc_translate_admin_position == 3 %} selected="selected" {% endif %} >{{ text_right }}</option>
              </select>
            </div>
          </div>

          <div class="row mb-3">
            <label class="col-sm-2 col-form-label" for="input-catalog">{{ entry_catalog }}</label>
            <div class="col-sm-10">
              <select name="module_opc_translate_catalog" id="input-catalog" class="form-select">
                {% if module_opc_translate_catalog %}
                <option value="1" selected="selected">{{ text_enabled }}</option>
                <option value="0">{{ text_disabled }}</option>
                {% else %}
                <option value="1">{{ text_enabled }}</option>
                <option value="0" selected="selected">{{ text_disabled }}</option>
                {% endif %}
              </select>
            </div>
          </div>

          <div class="row mb-3">
            <label class="col-sm-2 col-form-label" for="input-catalog_position">{{ entry_catalog_position }}</label>
            <div class="col-sm-10">
              <select name="module_opc_translate_catalog_position" id="input-catalog_position" class="form-select">
                <option value="1" {% if module_opc_translate_catalog_position == 1 %} selected="selected" {% endif %} >{{ text_left }}</option>
                <option value="2" {% if module_opc_translate_catalog_position == 2 %} selected="selected" {% endif %} >{{ text_center }}</option>
                <option value="3" {% if module_opc_translate_catalog_position == 3 %} selected="selected" {% endif %} >{{ text_right }}</option>
              </select>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
{{ footer }}
